package com.weipai.education.mapper;

import com.weipai.education.model.RoleMenu;
import org.apache.ibatis.annotations.Param;

public interface RoleMenuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoleMenu record);

    int insertSelective(RoleMenu record);

    RoleMenu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleMenu record);

    int updateByPrimaryKey(RoleMenu record);

    int deleteRoleMenus(Integer roleId);

    Integer verifyRoleIdAndMenuId(@Param("roleId") Integer roleId, @Param("menuId") Integer menuId);
}